﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WsdShop.Model
{
    /// <summary>
    /// 一分钱活动团成员表
    /// </summary>
    public class ActivityTeamMembers
    {
        /// <summary>
        /// 一分钱活动团成员表Id
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 一分钱活动表Id
        /// </summary>
        public int ActivityId { get; set; }
        /// <summary>
        /// 一分钱活动团表Id
        /// </summary>
        public int ActivityTeamId { get; set; }
        /// <summary>
        /// 成员Id  （取WeChat_User表Id）
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 加入时间
        /// </summary>
        public DateTime JoinTime { get; set; }
        /// <summary>
        /// 中奖状态  已中奖 = 1,未中奖 = 2,已领奖=3,未抽奖=4
        /// </summary>
        public int WinningStatus { get; set; }
        /// <summary>
        /// 退款状态  已退款 = 1,未退款 = 2
        /// </summary>
        public int RefundStatus { get; set; }
        /// <summary>
        /// 付款单号 （自动生成,格式:N+yyMMdd+7位数流水号 例如N201703270000001）
        /// </summary>
        public string OrderNo { get; set; }
        /// <summary>
        /// 支付金额
        /// </summary>
        public decimal PaymentAmount { get; set; }
        private bool isDeleted = false;
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleted { get { return isDeleted; } set { isDeleted = value; } }
        /// <summary>
        /// 是否团长
        /// </summary>
        public bool IsHead { get; set; }
        /// <summary>
        /// 用户头像
        /// </summary>
        public string UserHeadImg { get; set; }
        /// <summary>
        /// 用户姓名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 奖品名称
        /// </summary>
        public string DrawRewardName { get; set; }
        /// <summary>
        /// 奖品ID
        /// </summary>
        public int DrawId { get; set; }
    }
}
